home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / AmigaSystem / Scalos / GuiGFXLib / src / guigfx_bitmap.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-10-28  |  893 b   |  27 lines

  1. #ifndef _GUIGFX_BITMAP_H
  2. #define _GUIGFX_BITMAP_H    1
  3.  
  4. #include "guigfx_internal.h"
  5.  
  6. int GetBitMapInfoA(struct BitMap *bm, UWORD displayID, TAGLIST tags);
  7.  
  8. #ifdef __MORPHOS__
  9. #define GetBitMapInfo(bm, displayID, tags...) \
  10.     ({unsigned long _tags[] = { tags }; GetBitMapInfoA(bm, displayID, (TAGLIST)_tags);})
  11. #else
  12. int GetBitMapInfo(struct BitMap *bm, UWORD displayID, Tag tag1, ...);
  13. #endif
  14.  
  15. APTR ReadBitMapA(struct BitMap *bm, UWORD displayID, PALETTE palette,
  16.     int *pixelformat, int *width, int *height, TAGLIST tags);
  17.  
  18. #ifdef __MORPHOS__
  19. #define ReadBitMap(bm, displayID, palette, pixelformat, width, height, tags...) \
  20.     ({unsigned long _tags[] = { tags }; ReadBitMapA(bm, displayID, palette, pixelformat, width, height, (TAGLIST)_tags);})
  21. #else
  22. APTR ReadBitMap(struct BitMap *bm, UWORD displayID, PALETTE palette, 
  23.     int *pixelformat, int *width, int *height, Tag tag1, ...);
  24. #endif
  25.  
  26. #endif
  27.